
.index-bar-container {
  position: relative;
  display: flex;
  justify-content: space-between;
  height: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
  transform: translate(0, 0);

  .index-content-list {
    display: block;
    // flex: 0 0 205px;
    width: 205px;
    height: 100%;
    // overflow-y: scroll;
    transition: all 0.8s linear;
    -webkit-overflow-scrolling: touch;

    &::-webkit-scrollbar {
      display: none;
    }
    .title {
        position: sticky;
        top: 0;
        left: 24px;
      width: 88px;
      height: 24px;
      margin: 14px 0;
      padding-left: 13px;
      color: #4c7fff;
      font-weight: 400;
      font-size: 14px;
      font-family: 'PingFangSC-Medium', 'PingFang SC', sans-serif;
      line-height: 24px;
      background: linear-gradient(270deg, rgba(249, 251, 255, 0) 0%, #f0f6ff 100%);
      border-radius: 12px;
    }

    .items-card {
      padding-left: 24px;



      .list {
        .item {
          max-width: 170px;
          height: 52px;
          overflow: hidden;
          font-size: 16px;
          line-height: 52px;
          white-space: nowrap;
          text-overflow: ellipsis;
        }
      }
    }
  }
  .indexBar {
      position: sticky;
      top: 0;
      right: 5px;
    //   flex: 0 0 15px;
      width: 15px;
      margin-top: 24px;
      cursor: pointer;
      ul {
        margin: 0;
        padding: 0;
        list-style: none;
        li {
          display: block;
          margin-bottom: 8px;
          color: #bbb;
          font-size: 9px;
          font-family: 'PingFangSC-Medium', 'PingFang SC', sans-serif;
    
          &.active {
            position: relative;
            width: 16px;
            height: 16px;
            margin-left: -5px;
            color: #fff;
            line-height: 17px;
            text-align: center;
            background-color: #4c7fff;
            border-radius: 50%;
    
            .active-pop {
              position: absolute;
              top: -14px;
              left: -65px;
              width: 53px;
              height: 45px;
              padding-right: 4px;
              font-weight: 600;
              font-size: 24px;
              line-height: 45px;
              background: url('https://oss-dev.health2m.com/static/health-main/images/encyclopedia/icon-pop.png')
                no-repeat;
              background-size: contain;
            }
          }
        }
      }
    }
    
}

